package com.qingke.stockdata.service;

import java.util.List;

import com.qingke.stockdata.exception.InvalidStockCodeException;
import com.qingke.stockdata.model.Stock;
import com.qingke.stockdata.model.StockData;

public interface DataCrawler {

	public Stock getStock(String code) throws InvalidStockCodeException ;
	public List<StockData> getStockHist(String code) throws InvalidStockCodeException ;

}
